package com.ssy.lingxi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 结算能力服务启动类
 * @author wrc
 * @date 2020/8/25
 */
@EnableFeignClients(basePackages = {"com.ssy.lingxi.member.merchant.api.feign",
        "com.ssy.lingxi.report.api.feign",
        "com.ssy.lingxi.order.api.feign",
        "com.ssy.lingxi.after.sale.api.feign",
        "com.ssy.lingxi.pay.api.feign",
        "com.ssy.lingxi.contract.api.feign",
        "com.ssy.lingxi.message.api.feign",
        "com.ssy.lingxi.workflow.api.feign",
        "com.ssy.lingxi.marketing.api.feign"})
@EnableSwagger2
@EnableCaching
@SpringBootApplication
@EnableScheduling
public class SettleAccountsServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(SettleAccountsServiceApplication.class, args);
    }

}
